/*
 * MyApplication.java
 *
 * Created on August 26, 2013, 9:27 AM
 */
 
package com.example.vaadin;           

import com.mighty.team.homemediacenterdescriptor.init.OnSupport;
//import com.vaadin.Application;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
/** 
 *
 * @author TSokolowski
 * @version 
 */
@Configurable
public class MyApplication extends UI {
    private static final long serialVersionUID = 1L;

    @Autowired
    private OnSupport te;
    @Override
    protected void init(VaadinRequest request) {      
     
        VerticalLayout content = new VerticalLayout();
        setContent(content);
        content.addComponent(new Label(te.test()));
    }
}
